#ifndef USERSDB_H
#define USERSDB_H

#include <QObject>
#include <QList>
#include <QString>
#include "common.h"

class UsersDB : public QObject
{
    Q_OBJECT
public:
    explicit UsersDB(QObject *parent = 0);

signals:

public slots:
    QList<QString> getUsersName();
    UserModel getUserInfo();
    void creatUserInfo(QString username);
    void updateIsUsing(QString username);
    void updateParam( UserModel user);
    bool isUserRepeat(QString username);

private:

};

#endif // USERSDB_H
